package com.yunxi.model.customer;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户流量
 * </p>
 *
 * @author 
 * @since 2019-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_customer_flow")
@ApiModel(value="CustomerFlow对象", description="客户流量")
public class CustomerFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CUSTOMER_FLOW_ID", type = IdType.UUID)
    private String customerFlowId;

    @ApiModelProperty(value = "渠道商编号")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "到店类型")
    @TableField("COME_TYPE")
    private Integer comeType;

    @ApiModelProperty(value = "到店人数")
    @TableField("COME_NUM")
    private Integer comeNum;

    @ApiModelProperty(value = "到店时间")
    @TableField("COME_TIME")
    private Date comeTime;

    @ApiModelProperty(value = "离店时间")
    @TableField("LEAVE_TIME")
    private Date leaveTime;

    @ApiModelProperty(value = "销售顾问编号")
    @TableField("SALES_CONSULTANT_NO")
    private String salesConsultantNo;

    @ApiModelProperty(value = "客户名称")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "型谱15位码")
    @TableField("VEHICLE_CODE")
    private String vehicleCode;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.UPDATE)
    private String updateBy;


}
